package org.jeecg.modules.pur.service.impl;

import org.jeecg.modules.pur.entity.PurSupplierPool;
import org.jeecg.modules.pur.mapper.PurSupplierPoolMapper;
import org.jeecg.modules.pur.service.IPurSupplierPoolService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.List;

/**
 * @Description: 外围采购供应商库
 * @Author: jeecg-boot
 * @Date:   2022-11-14
 * @Version: V1.0
 */
@Service
public class PurSupplierPoolServiceImpl extends ServiceImpl<PurSupplierPoolMapper, PurSupplierPool> implements IPurSupplierPoolService {

    @Autowired
    private PurSupplierPoolMapper purSupplierPoolMapper;

    @Override
    public List<PurSupplierPool> selectAllBlacklist() {
        return purSupplierPoolMapper.selectAllBlacklist();
    }

    @Override
    public List<PurSupplierPool> selectAllSubContractor() {
        return purSupplierPoolMapper.selectAllSubContractor();
    }

    @Override
    public List<PurSupplierPool> selectAllProcurement() {
        return purSupplierPoolMapper.selectAllProcurement();
    }
}
